package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.sc.nft.enums.PledgeStatusEnum;
import com.sc.nft.enums.RewardStatusEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 质押任务-用户质押记录(sc_user_pledge_records)实体类
 *
 * @author kancy
 * @since 2023-06-13 14:55:14
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_user_pledge_records")
public class UserPledgeRecords extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 质押任务主表id
     */
    private Long pledgeTaskId;
    /**
     * 质押任务主表名称
     */
    private String pledgeTaskName;
    /**
     * 质押任务质押表id
     */
    private Long pledgeTaskCollectionId;
    /**
     * 质押任务奖励表id
     */
    private String pledgeTaskRewardIds;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 用户激活记录id
     */
    private Long userVigorousRecordsId;
    /**
     * 质押状态 : 1:质押中 2:质押结束 
     */
    private PledgeStatusEnum pledgeStatus;
    /**
     * 完成时间
     */
    private Date completeTime;
    /**
     * 藏品名称
     */
    private String firstTitle;
    /**
     * 藏品图片
     */
    private String collectionImage;
    /**
     * 质押数量
     */
    private Integer pledgeCount;
    /**
     * 奖励状态 : 0:未发放 1:发放中 2:已发放
     */
    private RewardStatusEnum rewardStatus;

}